package com.bletoothutils;

import android.content.Context;

import com.inuker.bluetooth.library.BluetoothClient;

/**
 * Created by dingjikerbo on 2016/8/27.
 */
public class BleClientManager {
    private static BluetoothClient mClient;
    public static BluetoothClient getClient(Context context){
        if (mClient == null) {
            synchronized (BleClientManager.class) {
                if (mClient == null) {
                    mClient = new BluetoothClient(context);
                }
            }
        }
        return mClient;
    }
}
